#pragma once
#include <boost/test/included/unit_test.hpp>
#include <fmt/fmt.h>
#include "../include/sh/time.hpp"
#include "../include/sh/algorithm.hpp"

BOOST_AUTO_TEST_SUITE(TIME_TEST)

BOOST_AUTO_TEST_CASE(time_test_module) {
    fmt::println("time_test_module");

    fmt::println("steady : {}", sh::timestamp::steady_ms());
    fmt::println("system : {}", sh::timestamp::system_ms());
    sh::sleep_ms(1000);
    fmt::println("steady : {}", sh::timestamp::steady_ms());
    fmt::println("steady : {}", sh::timestamp::system_ms());
}



BOOST_AUTO_TEST_CASE(time_test_end) {
    getchar();
}

BOOST_AUTO_TEST_SUITE_END()
